<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<div class="page-header">
	<c:if test="${empty customerDto.id}">
		<h2><spring:message code="customer.create.title" /></h2>
		<spring:message code="customer.create.title.explain" />
	</c:if>
	<c:if test="${not empty customerDto.id}">
		<h2>
			<spring:message code="customer.modify.title" /> :
			<c:out value="${customerDto.name}"/> &nbsp; <c:out value="${customerDto.firstname}"/> 
		</h2>
		<spring:message code="customer.modify.title.explain" />
	</c:if>
</div>

<tiles:insertAttribute name="detailMenu" />

<tiles:insertAttribute name="detailContent" />